package com.itheima.day02.ZuoYe.ZuoYe_6;

public class Manager extends Father{
    private double YEAR_END_BONUS;

    @Override
    public void neirong() {
        System.out.println("经理一致同意明天开会");
    }

    public Manager() {
    }

    public Manager(String ID, String name, int age, double YEAR_END_BONUS) {
        super(ID, name, age);
        this.YEAR_END_BONUS = YEAR_END_BONUS;
    }

    public Manager(double YEAR_END_BONUS) {
        this.YEAR_END_BONUS = YEAR_END_BONUS;
    }

    public double getYEAR_END_BONUS() {
        return YEAR_END_BONUS;
    }

    public void setYEAR_END_BONUS(double YEAR_END_BONUS) {
        this.YEAR_END_BONUS = YEAR_END_BONUS;
    }
}
